
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for horseType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="horseType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Entry" type="{}extendedDataType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Organisation" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Sex" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="YearBirth" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Passport" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ColourCode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="BreedCode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Sire" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Owner" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="SecondOwner" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Groom" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ModificationIndicator" type="{}modificationIndicatorType" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "horseType", propOrder = {
    "entry"
})
public class HorseType {

    @XmlElement(name = "Entry")
    protected List<ExtendedDataType> entry;
    @XmlAttribute(name = "Code", required = true)
    protected String code;
    @XmlAttribute(name = "Name", required = true)
    protected String name;
    @XmlAttribute(name = "Organisation")
    protected String organisation;
    @XmlAttribute(name = "Sex")
    protected String sex;
    @XmlAttribute(name = "YearBirth")
    protected String yearBirth;
    @XmlAttribute(name = "Passport")
    protected String passport;
    @XmlAttribute(name = "ColourCode")
    protected String colourCode;
    @XmlAttribute(name = "BreedCode")
    protected String breedCode;
    @XmlAttribute(name = "Sire")
    protected String sire;
    @XmlAttribute(name = "Owner")
    protected String owner;
    @XmlAttribute(name = "SecondOwner")
    protected String secondOwner;
    @XmlAttribute(name = "Groom")
    protected String groom;
    @XmlAttribute(name = "ModificationIndicator")
    protected ModificationIndicatorType modificationIndicator;

    /**
     * Gets the value of the entry property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the entry property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEntry().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ExtendedDataType }
     * 
     * 
     */
    public List<ExtendedDataType> getEntry() {
        if (entry == null) {
            entry = new ArrayList<ExtendedDataType>();
        }
        return this.entry;
    }

    /**
     * Gets the value of the code property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the value of the code property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCode(String value) {
        this.code = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the organisation property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrganisation() {
        if (organisation == null) {
            return "";
        } else {
            return organisation;
        }
    }

    /**
     * Sets the value of the organisation property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrganisation(String value) {
        this.organisation = value;
    }

    /**
     * Gets the value of the sex property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSex() {
        if (sex == null) {
            return "";
        } else {
            return sex;
        }
    }

    /**
     * Sets the value of the sex property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSex(String value) {
        this.sex = value;
    }

    /**
     * Gets the value of the yearBirth property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getYearBirth() {
        if (yearBirth == null) {
            return "";
        } else {
            return yearBirth;
        }
    }

    /**
     * Sets the value of the yearBirth property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setYearBirth(String value) {
        this.yearBirth = value;
    }

    /**
     * Gets the value of the passport property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPassport() {
        if (passport == null) {
            return "";
        } else {
            return passport;
        }
    }

    /**
     * Sets the value of the passport property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPassport(String value) {
        this.passport = value;
    }

    /**
     * Gets the value of the colourCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getColourCode() {
        if (colourCode == null) {
            return "";
        } else {
            return colourCode;
        }
    }

    /**
     * Sets the value of the colourCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setColourCode(String value) {
        this.colourCode = value;
    }

    /**
     * Gets the value of the breedCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBreedCode() {
        if (breedCode == null) {
            return "";
        } else {
            return breedCode;
        }
    }

    /**
     * Sets the value of the breedCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBreedCode(String value) {
        this.breedCode = value;
    }

    /**
     * Gets the value of the sire property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSire() {
        if (sire == null) {
            return "";
        } else {
            return sire;
        }
    }

    /**
     * Sets the value of the sire property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSire(String value) {
        this.sire = value;
    }

    /**
     * Gets the value of the owner property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOwner() {
        if (owner == null) {
            return "";
        } else {
            return owner;
        }
    }

    /**
     * Sets the value of the owner property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOwner(String value) {
        this.owner = value;
    }

    /**
     * Gets the value of the secondOwner property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSecondOwner() {
        if (secondOwner == null) {
            return "";
        } else {
            return secondOwner;
        }
    }

    /**
     * Sets the value of the secondOwner property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSecondOwner(String value) {
        this.secondOwner = value;
    }

    /**
     * Gets the value of the groom property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGroom() {
        if (groom == null) {
            return "";
        } else {
            return groom;
        }
    }

    /**
     * Sets the value of the groom property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setGroom(String value) {
        this.groom = value;
    }

    /**
     * Gets the value of the modificationIndicator property.
     * 
     * @return
     *     possible object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public ModificationIndicatorType getModificationIndicator() {
        return modificationIndicator;
    }

    /**
     * Sets the value of the modificationIndicator property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public void setModificationIndicator(ModificationIndicatorType value) {
        this.modificationIndicator = value;
    }

}
